package com.group7.mall.entity;

import lombok.Data;
import lombok.ToString;

import java.io.Serializable;

/**
 * 用户购物车(TbUserCart)实体类
 *
 * @author makejava
 * @since 2024-04-09 15:32:53
 */
@Data
@ToString
public class TbUserCart implements Serializable {
    private static final long serialVersionUID = -98033421171450502L;
/**
     * 购物车id
     */
    private Integer cartId;
/**
     * 用户id
     */
    private String userOpenId;
/**
     * 商品id
     */
    private Integer goodsId;
/**
     * 店铺id
     */
    private Integer storeId;
/**
     * 商品品种id;对应库存价格表id
     */
    private Integer combinationId;
/**
     * 购物车数量
     */
    private Integer cartNumber;
/**
     * 商品品种字串
     */
    private String typeInfo;
/**
     * 商品是否失效
     */
    private Integer isInvalid;
/**
     * 是否库存紧张
     */
    private Integer isInventoryShortage;
/**
     * 是否库存不足
     */
    private Integer isInventoryInsufficient;
/**
     * 创建时间
     */
    private String createdTime;
/**
     * 更新时间
     */
    private String updatedTime;


    public Integer getCartId() {
        return cartId;
    }

    public void setCartId(Integer cartId) {
        this.cartId = cartId;
    }

    public String getUserOpenId() {
        return userOpenId;
    }

    public void setUserOpenId(String userOpenId) {
        this.userOpenId = userOpenId;
    }

    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    public Integer getStoreId() {
        return storeId;
    }

    public void setStoreId(Integer storeId) {
        this.storeId = storeId;
    }

    public Integer getCombinationId() {
        return combinationId;
    }

    public void setCombinationId(Integer combinationId) {
        this.combinationId = combinationId;
    }

    public Integer getCartNumber() {
        return cartNumber;
    }

    public void setCartNumber(Integer cartNumber) {
        this.cartNumber = cartNumber;
    }

    public String getTypeInfo() {
        return typeInfo;
    }

    public void setTypeInfo(String typeInfo) {
        this.typeInfo = typeInfo;
    }

    public Integer getIsInvalid() {
        return isInvalid;
    }

    public void setIsInvalid(Integer isInvalid) {
        this.isInvalid = isInvalid;
    }

    public Integer getIsInventoryShortage() {
        return isInventoryShortage;
    }

    public void setIsInventoryShortage(Integer isInventoryShortage) {
        this.isInventoryShortage = isInventoryShortage;
    }

    public Integer getIsInventoryInsufficient() {
        return isInventoryInsufficient;
    }

    public void setIsInventoryInsufficient(Integer isInventoryInsufficient) {
        this.isInventoryInsufficient = isInventoryInsufficient;
    }

    public String getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(String createdTime) {
        this.createdTime = createdTime;
    }

    public String getUpdatedTime() {
        return updatedTime;
    }

    public void setUpdatedTime(String updatedTime) {
        this.updatedTime = updatedTime;
    }

}

